//? 引入SDK
const AlipaySdk = require ('alipay-sdk').default
const alipaySdk = new AlipaySdk({
    //AppId
    appId: '2021000121693615',
    //签名算法
    // signType:'RSA2',
    signType:'RSA2',
    // 秘钥类型
    keyType:'PKCS8',
     //网关
     gateway:'https://openapi.alipaydev.com/gateway.do',
    //支付宝公钥
    ailpayPublicKey:'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0mgnQlTNG6Anjp1vtcb142OtU12aBca3lyTu5lwEhgL+nJzlnH4lYbxwa4ES4ZSFx9vtJdcK1YgBz4AbQ0eskjU8oLI09Y/n0F52zODQi/qpQI1uU5PpokDg/BcOzKpDNgJ2GNiI7swLdf1DhCRuul0ByErM5sVFI3+S/LN4RoXJHRYbo9LnhWYorGIxQMyyykFHw1SO6Uyd8X8ej+HYM85bO04GUxa4wLx0fly6eHQU5xORXBDM2IDitdwFpnHhyqeZ6N85hbm/2kyh/lcxkZEJcjG/1LOGo7MlB8nO14Jm6Uq4/jmFjk5E0NDBIDk+Dchlp1mzcHqX57PffAyUiQIDAQAB',

    //应用秘钥
    privateKey:'MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCJwbuX6tHw2etY/fjBiZJrDcWAOFXrJoIIIo/wnW6Lg41BgkbW78XIDzGPo4h/lWFZB9PsCQf1nxcv56569PSsBZmVbnu9U/AGErxNb3qXLiZ5DgtsGjCVo4C/2kxejc6/cobB2oabWO9/VKhw96TqLM5ATCAXNJl7ay21vJxSYyFBu3nhhtzo+fC3n6B/8mmsyrmeOfkXBSUxFpGUN32WGWOT4cgy3ooofDuFXAqDYegTpjgFAPN7Tm3dR08c0gSH4z8CidxEIs2jY4QdfbjkpJa0Cf+Hj6jRhvwzAopmeWffsQqSWvM+/XIzDu7QDXR6yWT9nTPLVF4M353swx2zAgMBAAECggEAIo74eccN/ecddIjaM+tIURT2XBFF9KUHb/UDuTA1gEhzUmDVVqx2KJcvLsKuxpr5/fTJxGgLmCHeF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